using System;
using System.Collections.Generic;
using System.Linq;
using MonoTouch.Foundation;
using MonoTouch.UIKit;
using MonoTouch.CoreGraphics;
using System.Drawing;
using MonoTouch.ObjCRuntime;

namespace ComBrowser
{

	[MonoTouch.Foundation.Register("ViewClearTouchHandler")]
	public class ViewClearTouchHandler:UIView
	{
		
		UIView underView;
		public ViewClearTouchHandler (UIView UnderView)
		{
			underView = UnderView;
			this.Frame = underView.Frame;
			this.BackgroundColor = UIColor.FromRGBA(.9f,.1f,.1f,.1f);
		}

		public ViewClearTouchHandler (NSCoder coder) : base(coder)
		{
		}
		public ViewClearTouchHandler (IntPtr ptr) : base(ptr)
		{
		}
		
	/*	public override void TouchesBegan (NSSet touches, UIEvent evt)
		{
			underView.TouchesBegan (touches, evt);
			base.TouchesBegan (touches, evt);
		}
		
		public override void TouchesEnded (NSSet touches, UIEvent evt)
		{
			underView.TouchesEnded (touches, evt);
			base.TouchesEnded (touches, evt);
		}

		public override UIView HitTest (PointF point, UIEvent uievent)
		{
			return underView.HitTest (point, uievent);
			 
		}
		 */
   
	}
}
